﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data.SqlClient;


namespace ITDept.DAL
{
    public class BaseDAL
    {
        SqlConnection conn;
        public BaseDAL()
        {
            conn = new SqlConnection();           
            conn.ConnectionString = ConfigurationManager.ConnectionStrings["currentConnection"].ConnectionString;
        }

        public SqlConnection Connection
        {
            get
            {
                return conn;
            }
        }
    }
}
